package com.bp.village.enums;

import java.util.HashMap;
import java.util.Map;

/**
 * @author shaominjie
 * @description 保障性用房类型
 * @date 2021/2/1 0001 10:05
 */
public enum EnumsSafeguardBuildingType {
    /** 安置房 **/
    OFFICE_BUILDING(0,"安置房"),
    /** 廉租房 **/
    OPERATIONAL_Building(1,"廉租房"),
    /** 公租房 **/
    SECURITY_Building(2,"公租房");


    public final static Map<Integer, String> MAP = new HashMap<Integer, String>() {
        {
            put(0,"安置房");
            put(1,"廉租房");
            put(2,"公租房");
        }
    };
    private Integer type;
    private String name;

    EnumsSafeguardBuildingType(Integer type, String name) {
        this.type = type;
        this.name = name;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
